package com.gpf.marketing.controller;

import com.gpf.marketing.service.AdvManageService;
import com.seventh.common.pojo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: clms-seventh
 * @description: 轮播图
 * @author: 张静
 * @create: 2021-08-07 15:12
 **/
@RestController
@RequestMapping("marketing/adv")
public class AdvPicController {
    @Autowired
    private AdvManageService advManageService;
    @GetMapping("advlist")
    public R advList(){
        return advManageService.getAdvList();
    }
}
